import java.util.Arrays;

public class Test04 {
    public static void main(String[] args) {
        int a = 10;
        int b = a;
        System.out.println(a);
        System.out.println(b);
        a = 20;
        System.out.println(a);
        System.out.println(b);
        int[] arr1 = new int[] {1,2,3};
        int[] arr2 = arr1;
        System.out.println(arr1[0]);
        System.out.println(arr2[0]);
        arr1[0]=100;
        System.out.println(arr1[0]);
        System.out.println(arr2[0]);
        int[] array = {1,2,3,4,5,6};
        System.out.println(Arrays.toString(array));
        Arrays.sort(array);
        System.out.println(Arrays.toString(array));
    }
}
